home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Graphics Unleashed
/
PC Graphics Unleashed.iso
/
ch03
/
read.me
< prev
next >
Wrap
Text File
|
1994-10-11
|
1KB
|
34 lines
*** ADVANCED MORPHING ***
All programs
Copyright (C) by Scott Anderson, 1994
These programs can be compiled with any current version of
Microsoft C or C++.
There are two PCX files for you to experiment with: WOMAN.PCX and
LEOPARD.PCX. They each have a set of control lines already defined
in the .LN1 and .LN2 files. The MORPH program will recognize these
files and ask you if you want to use them. If you do, it will then
give you a chance to edit them. If you plan on changing them, you
might want to rename the originals before wiping them out.
You can morph the woman into the leopard with the command:
MORPH WOMAN LEOPARD 3 WL
This reads the two .PCX files and their associated .LN1 files and
produces a 3-step morph. It saves the result in the files WL1.PCX,
WL2.PCX and WL3.PCX. Then you need to fix the palettes by typing:
FIX WL WLFIX
This takes the WL sequence, corrects the palettes, then outputs the
new sequence as WLFIX1.PCX, WLFIX2.PCX andWLFIX3.PCX. You can play
back the sequence by typing:
LOAD WLFIX
This loads the sequence and displays it as an animation. To single
frame through the sequence, use the space bar.
The programs here will demonstrate the most important aspects of
morphing. For more information, programs, pictures and source code,
see the book "Morphing Magic" from Sams Publishing.